﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SArena2v2TeamRank extends Object
    {
        public var rank:int;
        public var teamInfo:SArena2v2Team;

        public function SArena2v2TeamRank()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.rank);
            this.teamInfo.__write(param1);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.rank = param1.readInt();
            this.teamInfo = new SArena2v2Team();
            this.teamInfo.__read(param1);
            return;
        }// end function

    }
}
